<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加</title> @include("/common/cssAndJs.html"){}
</head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md2"></div>
				<div class="layui-col-md8">
					<form action="${ctxPath}/systemDept/systemDeptUpdate"
						class="layui-form updateForm" onsubmit="return false">
						<input type="hidden" name="id" value="${model.id}">
						<div class="layui-form-item">
							<label class="layui-form-label"> 上级部门 </label>
							<div class="layui-input-block">
								<input type="hidden" id="pId" name="pId" value="${model.pId}"> <input
									type="text" id="showNameDom" name="showNameDom"  value="${showNameDom}" placeholder="如果不选择，默认为顶级部门"
									autocomplete="off" class="layui-input boot-layer"
									boot-url="${ctxPath}/common/showTree?treeUrl=${ctxPath}/systemDept/systemDeptList&treeTitle=fullName&showNameDom=showNameDom&showIdDom=pId"
									boot-width="300" boot-height="400" boot-title="选择上级部门"
									end="function(){}">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>部门全称
							</label>
							<div class="layui-input-block">
								<input type="text" id="fullName" name="fullName" value="${model.fullName}" 
			placeholder="请输入部门全称"						lay-verify="required" autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 部门简称 </label>
							<div class="layui-input-block">
								<input type="text" id="simpleName" name="simpleName" value="${model.simpleName}"
				placeholder="请输入部门简称"		 lay-verify="maxlengths" maxlengths="255"			autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 排序 </label>
							<div class="layui-input-block">
								<input type="number" id="orderNum" name="orderNum" value="${model.orderNum}"  lay-verify="maxlengths" maxlengths="11"
						placeholder="纯数字,数值越大越靠前" 		autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 备注 </label>
							<div class="layui-input-block">
								<input type="text" id="tips" name="tips" autocomplete="off" value="${model.tips}"  lay-verify="maxlengths" maxlengths="1000"
									class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> </label>
							<button class="layui-btn" lay-filter="boot-form-btn"
								lay-submit="">更新</button>
						</div>
					</form>
				</div>
				<div class="layui-col-md2"></div>
			</div>
		</div>
	</div>
	<script src="${ctxPath}/static/js/view/system/systemDept/systemDept.js"></script>
</body>
</html>